package com.mew.slots.core.game.mjk.message;

import com.mew.slots.core.common.messge.response.SlotsBonusPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/** 开帽子
 * @author dylin
 */
@Data
@ToString(callSuper = true)
public class MjkBonusOpenHatMessage extends SlotsBonusPlayResponseMessage {
    public int eggType;//蛋的类型 ，1 紫 2 蓝 3 绿 4 黄
    public int isWhiteEgg;//是否是白蛋变化的
    public int isGameOver;//游戏是否结束
    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,eggType);
        writeInt(b,isWhiteEgg);
        writeInt(b,isGameOver);
    }

    @Override
    public MjkBonusOpenHatMessage read(ByteBuf byteBuf) {
        return null;
    }
}
